﻿namespace Jinjia.Approve.Model.VM.Org
{
    public class Org
    {
        public int id { get; set; }

        /// <summary>
        /// 组织编码
        /// </summary>
        public string org_code { get; set; }

        /// <summary>
        /// 组织成员id
        /// </summary>
        public int member_id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string member_name { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string phone_no { get; set; }

        /// <summary>
        /// 第三方系统的用户名
        /// </summary>
        public string external_user_id { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string position { get; set; }

        /// <summary>
        /// 员工状态 0：正常；1：删除 ；7：离职 
        /// </summary>
        public string staff_status { get; set; }

        /// <summary>
        /// 关联 员工的 离职日期
        /// </summary>
        public System.DateTime dimission_date { get; set; }

        public int user_id { get; set; }
        public int node_id { get; set; }
        public int node_type { get; set; }
        public int parent_node_id { get; set; }
        public int child_node_id { get; set; }
        public int is_dept_leader { get; set; }
    }
}